package com.chinasoft.class1.group3;

import com.chinasoft.main.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class Zhouquanhao implements TrueWord {
    List<String> wordList=new ArrayList<>();
    public Zhouquanhao(){
        wordList.add("今天玩海岛奇兵");
        wordList.add("立志跑步2000公里");
        wordList.add("保持快乐心态");
    }

    @Override
    public String getWord() {
        Random random=new Random();
        int index =random.nextInt(wordList.size());
        return wordList.get(index);
    }

    @Override
    public String getName() {
        return "周铨浩";
    }
}
